home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Larry Magid's Essential Internet
/
Larry Magid's Essential Internet (Quarterdeck Corporation)(1995).ISO
/
qsockpro.qip
/
WINCOM.MPS
< prev
next >
Wrap
Text File
|
1995-10-09
|
1KB
|
52 lines
# WINCOM PPP login script
# Copyright 1995 Quarterdeck Corporation
# 7-13-95 CEL
STRING username
STRING password
STRING framing
STRING IPAddress
SetTimeOut 60
CfgGetValue "Username" username
IF result = 0 THEN
GetInput "Enter your username:" username
IF result = 0 THEN
PRINT "Warning, no username entered."
ELSE
PRINT "Username set to: ";username
ENDIF
ENDIF
CfgGetValue "Password" password
IF result = 0 THEN
GetPassword "Enter your password:" password
IF result = 0 THEN
PRINT "Warning, no password entered."
ELSE
PRINT "Password set."
ENDIF
ENDIF
CfgGetValue "Framing" framing
IF result = 0 THEN
ABORT "Can't read 'Framing' setting from QDECK.INI."
ENDIF
CommWaitFor "username:"
CommSend username
CommSend "%r"
CommWaitFor "password:"
CommSend password
CommSend "%r"
CommWaitFor ">"
CommSend "ppp default"
CommSend "%r"
END